home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3348 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c,comp.unix.programmer
  4. Subject: Re: Pass password to "passwd" in C
  5. Followup-To: comp.unix.programmer
  6. Date: Sun, 28 Jan 96 02:04:46 GMT
  7. Organization: none
  8. Message-ID: <822794686snz@genesis.demon.co.uk>
  9. References: <4edi2h$p0k@ixnews7.ix.netcom.com>
  10. Reply-To: fred@genesis.demon.co.uk
  11. X-NNTP-Posting-Host: genesis.demon.co.uk
  12. X-Newsreader: Demon Internet Simple News v1.27
  13. X-Mail2News-Path: genesis.demon.co.uk
  14.  
  15. In article <4edi2h$p0k@ixnews7.ix.netcom.com>
  16.            johnma2@ix.netcom.com(John "John Ma " writes:
  17.  
  18. >Hi:
  19. >
  20. >
  21. >I am writing a small utility program to change password on UNIX
  22. >machine.  The command will look like:  set_password vendor1 (password
  23. >for vendor will be set to guest password); or set_password vendor2
  24. >(password for same vendor will be set to internal password).  The
  25. >reason because we use the same login id/password as vendor due to file
  26. >access reason, but we want to control their access, so that we want to
  27. >change to their password only if we feel they need to dial in.
  28.  
  29. passwd is designed to prohibit this sort of thing in general (it is a
  30. security risk) by reading from the control terminal directly. However 
  31. this whole issue is highly Unix specific so I have directed followups to
  32. comp.unix.programmer.
  33.  
  34. -- 
  35. -----------------------------------------
  36. Lawrence Kirby | fred@genesis.demon.co.uk
  37. Wilts, England | 70734.126@compuserve.com
  38. -----------------------------------------
  39.